#ifndef PLAYER_H
#define PLAYER_H

class Player
{
public:
	Player();
	~Player();

	void Init(float x, float y, float z, float limit, float psize);
	void UpdatePlayerSize(float size);
	void Update();

	//Get Player Position
	float getX();
	float getY();
	float getZ();

	float getFace();
	float get_player_size();

	//Move Player
	void MoveFrontBack(int direction);
	void MoveLeftRight(int direction);

	//Rotate Player
	void RotateFace(float angle);

	void SetX(float i);
	void SetZ(float i);

private:
	const static float INCR;
	const static float ROTATION_SPEED;

	float x,y,z; //position of player
	float lx,lz; //angles of player

	float yaw, facing; // Various rotation angles
	float strafe_lx, strafe_lz; // Always 90 degree to direction vector

	float limit, player_size;
};

#endif